package com.hs.sfzy.service.impl;

import com.hs.sfzy.entity.MyConsult;
import com.hs.sfzy.mapper.MyConsultMapper;
import com.hs.sfzy.service.MyConsultService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @ClassName MyConsultServiceImpl
 * @Description TODO
 * @Author liuzhuo
 * @Date 2025年08月13日 11:10
 * @Version 1.0
 */
@Service
public class MyConsultServiceImpl implements MyConsultService {
    @Autowired
    private MyConsultMapper myConsultMapper;

    @Override
    public int update(MyConsult myConsult) {
        return myConsultMapper.update(myConsult);
    }

    @Override
    public int insert(MyConsult myConsult) {
        return myConsultMapper.insert(myConsult);
    }
}
